<%@ page contentType="text/html; charset=utf8" %>
<%@ taglib uri="http://www.mentaframework.org/tags-mtw/" prefix="mtw" %>

<html>
	<mtw:useI18N/>
	
	<head>
		<link href='<mtw:contextPath/>/css/bootstrap.css' rel="stylesheet">
		<style>
			body {
				margin: 20px;
			}
		</style>
	</head>
	<body>	
	
		<mtw:form extra="class=form-horizontal">
			<div class="control-group">
				<mtw:label keyI18n="nome" forr="nome"/>
				<div class="controls">
					<mtw:input name="nome"/> <mtw:error field="nome"/>
				</div>
			</div>
			
			<div class="control-group">
				<mtw:label keyI18n="telefone" forr="telefone"/> 
				<div class="controls">
					<mtw:input name="telefone"/> <mtw:error field="telefone"/>
				</div>
			</div>
			
			<div class="control-group">
				<mtw:label keyI18n="email" forr="email"/> 
				<div class="controls">
					<mtw:input name="email"/> <mtw:error field="email"/>
				</div>
			</div>
			
			<div class="control-group">
				<mtw:label keyI18n="username" forr="username"/> 
				<div class="controls">
					<mtw:input name="username"/> <mtw:error field="username"/>
				</div>
			</div>
			
			<div class="control-group">
				<mtw:label keyI18n="password" forr="password"/> 
				<div class="controls">
					<mtw:input name="password"/> <mtw:error field="password"/>
				</div>
			</div>
			
			<div class="control-group">
				<mtw:input name="idUsuario" type="hidden"/>
				<mtw:buttonAction action="UsuarioAction.save.mtw" name="btn" keyI18n="salvar" submit="true"/>
			</div>
			
		</mtw:form>
	</body>
	
</html>